<template>
  <div class="layer">
    <div class="layerimg">
      <van-image
        width="5rem"
        height="5rem"
        round
        fit="cover"
        :src="props.img"
      />
    </div>
    <div class="layertitle">{{ props.title }}</div>
  </div>
</template>

<script setup>
const props = defineProps({
  img: {
    type: String,
  },
  title: {
    type: String,
  },
})
</script>

<style>
.title {
  height: 60px;
  font-size: 20px;
  font-weight: 100;
  line-height: 60px;
  padding-left: 10px;
}
.swit {
  display: flex;
  flex-wrap: wrap;
}
.layer {
  padding: 0 10px 10px 10px;
}
.layertitle {
  padding-left: 27px;
  font-weight: 310;
}
</style>
